<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>编辑文章</title>
		<link rel="stylesheet" type="text/css" href="./public/bt/css/bootstrap.min.css" />
	</head>
	<body>
		<div class="container">
			<button type="button" class="btn btn-sm btn-block"><h2>编辑文章内容</h2></button>
			<form action="" method="post">
			<div class="form-group">
				<label for="exampleInputEmail1" >标题</label>
				<input type="text" class="form-control" id="exampleInputEmail1" name="title" placeholder="请输入" value="<?php echo $oldData['title']?>">
			</div>
			<div class="form-group">
				<label for="exampleInputEmail1">作者</label>
				<input type="text" class="form-control" id="exampleInputEmail1" name="author" placeholder="请输入" value="<?php echo $oldData['author']?>">
			</div>
			<div class="form-group">
				<label for="exampleInputPassword1">文章内容</label>
				<textarea class="form-control" rows="10" name="content"><?php echo $oldData['content']?></textarea>
			</div>
			<button type="submit" class="btn btn-default btn-lg active btn-block"><h4>保存修改</h4></button>
			</form>
			
		</div>
	</body>
</html>
